
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="admin" />
        <title>Login</title>
    </head>
    <body>
		<div id="center-column">
			<div class="top-bar">
				<g:link class="button" action="create">ADD NEW</g:link>
				<h1>Login</h1>
				<div class="breadcrumbs">
					<a class="home" href="${createLinkTo(dir:'')}">Home</a> / 
				</div>
			</div><br />
			<div class="select-bar-border-no"></div>
	        <div class="body">
	            <g:form name="loginForm" controller="user" action="doLogin" method="post" >
	                <div class="dialog">
			            <div class="subdialog">
			            	<h2>Login</h2>
							<p>
	                            <label for="username">Username:</label>
	                           <input type="text" id='username' name='username' value=""/>
							</p>
							<p>
	                           <label for='password'>password:</label>
	                           <input type="password" id='password' name='password' value=""/>
							</p>
			            </div>
		                <div class="buttons">
		                    <span class="button"><input class="save" type="submit" value="Login"></input></span>
		                </div>
		            </div>
		        </g:form>
	        </div>
        </div>
		<div id="right-column">
            <g:if test="${flash.message}">
				<strong class="h">INFO</strong>
	            <div class="box">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${user}">
				<strong class="h">ERROR</strong>
                <div class="box"></div>
            </g:hasErrors>
		</div>
    </body>
</html>
